﻿Imports System
Imports System.Runtime.CompilerServices
Imports System.Runtime.InteropServices

Namespace Google.Desktop.Interop
    <ComImport, TypeLibType(CShort(2)), Guid("AC129136-EB1C-4FFF-B0A2-6D6761BE4138"), ClassInterface(CShort(0))> _
    Public Class GoogleDesktopRegistrarClass
        Implements IGoogleDesktopRegistrar, GoogleDesktopRegistrar
        ' Methods
        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime)> _
        Public Sub New()

        End Sub

        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime), DispId(&H408)> _
        Public Overridable Sub FinishComponentRegistration() Implements IGoogleDesktopRegistrar.FinishComponentRegistration

        End Sub

        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime), DispId(&H407)> _
        Public Overridable Function GetRegistrationInterface(<[In](), MarshalAs(UnmanagedType.BStr)> ByVal registration_type As String) As <MarshalAs(UnmanagedType.IUnknown)> Object Implements IGoogleDesktopRegistrar.GetRegistrationInterface

        End Function

        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime), DispId(&H406)> _
        Public Overridable Sub StartComponentRegistration(<[In](), MarshalAs(UnmanagedType.BStr)> ByVal component_guid_or_progid As String, <[In](), MarshalAs(UnmanagedType.Struct)> ByVal component_description As Object) Implements IGoogleDesktopRegistrar.StartComponentRegistration

        End Sub

        <MethodImpl(MethodImplOptions.InternalCall, MethodCodeType:=MethodCodeType.Runtime), DispId(&H409)> _
        Public Overridable Sub UnregisterComponent(<[In](), MarshalAs(UnmanagedType.BStr)> ByVal component_guid_or_progid As String) Implements IGoogleDesktopRegistrar.UnregisterComponent

        End Sub

    End Class
End Namespace

